import request from "@/utils/request";
// 商品分类
export const getTopCategory = (id) => request("/category", "get", { id });
//根据关键字搜索商品
export const getSearchGoodsAPI = (data) => request("/search/all", "post", data);
//// 商品详情
export const getGoodsAPI = (id) => request("/goods", "get", { id });
